<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>标注</title>

<style >

.title {
font-size: 30px;
background: darkgray;
}

h1 {
 color: blue;
}





</style>

</head>

<body>

<!-- 标注 -->

<form  action="index.html">

<!--写法一: for的值通过id来匹配  -->
<p>
<label for="username">用户名:</label>
<input type="text" name="username" value="hamnet" id="username" disabled="disabled">
</p>

<!--写法二: 放到label里面 -->
<p>
<label >年龄 :  <input type="text" name="age" value="28" id="age" ></label>
</p>

</form>



</body>
</html>
